import Request from '@/utils/request';


const API_PREFIX = '/business/api';
const PATH = '/web/user';


export class WebUserApi {


  /**
   * 修改
   */
  static updateUserInfo(params) {
    return Request.get(API_PREFIX + PATH + '/updateUserInfo', params);
  }

  static getAgentUserList(params) {
    return Request.get(API_PREFIX + PATH + '/getAgentUserList', params);
  }

  static getAgentUserListByAgentId(params) {
    return Request.get(API_PREFIX + PATH + '/getAgentUserListByAgentId', params);
  }

  static getAgentUserListByRoleId(params) {
    return Request.get(API_PREFIX + PATH + '/getAgentUserListByRoleId', params);
  }

  static getUserInfo(params) {
    return Request.get(API_PREFIX + PATH + '/getUserInfo', params);
  }



  static getUserUnReadCount(params) {
    return Request.get(API_PREFIX + PATH + '/getUserUnReadCount', params);
  }


}
